package com.jindianjichi.auth.domain.convert;

import com.jindianjichi.auth.domain.BO.AuthPermissionBO;
import com.jindianjichi.auth.domain.BO.AuthUserBO;
import com.jindianjichi.auth.infra.basic.entity.AuthPermission;
import com.jindianjichi.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthPermissionBoConvert {
    AuthPermissionBoConvert instance= Mappers.getMapper(AuthPermissionBoConvert.class);
    AuthPermission convertToBoAuthPermission(AuthPermissionBO authPermissionBO);
    AuthPermissionBO convertToAuthPermission(AuthPermissionBO authPermissionBO);

}
